package cn.jiyun.entity.day13;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author sjt
 * @Date 2023/8/11 18:38
 * @PackageName: cn.jiyun.entity.day13.User
 */
@TableName("user")
@Data
public class User {
    @TableId(value = "uid",type = IdType.AUTO)
    private Integer uid;
    private String pictrue;
    private String uname;
    private String uidCode;
    private String account;
    private String sex;
    private String sign;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date logintime;
    private String status;
    private Integer rid;
    private Integer tid;


    private String password;
}
